package cn.edu.scau.cmi.wujiaxian.exercise8;


public class Example8_4 {
	
	public static void main(String[] args) {
		int n = 0;
		int m = 0;
		int t = 1000;
		try {
			m = Integer.parseInt("8888");
			n = Integer.parseInt("ab89");
			t = 7777;
		} catch (NumberFormatException e) {
			System.out.println("发送异常：" + e.getMessage());
		}
		System.out.println("n=" + n + ",m=" + m + ",t=" + t);
		try {
			m = Integer.parseInt("123");
			n = Integer.parseInt("678");
			t = 555;
		} catch (NumberFormatException e) {
			System.out.println("发送异常：" + e.getMessage());
		}
		System.out.println("n=" + n + ",m=" + m + ",t=" + t);
	}
	
}
